<timepicker [(ngModel)]="mytime" [showMeridian]="ismeridian"></timepicker>

<pre class="alert alert-info">Time is: {{mytime}}</pre>

<br>

<button type="button" class="btn btn-info" (click)="toggleMode()">12H / 24H</button>

